package com.plian.system.service.sys.seal;

import com.baomidou.mybatisplus.extension.service.IService;
import com.plian.system.entity.sys.SealApply;
import com.plian.system.model.ListResult;
import com.plian.system.mybatis.support.Query;
import com.plian.system.vo.sys.SealApplyVO;

import java.io.File;


/**
 * <p>
 * 用印申请 服务类
 * </p>
 *
 * @author husong
 * @since 2023-03-18 13:09:29
 */
public interface ISealApplyService extends IService<SealApply> {

    /**
     * 查询全部
     * @param query
     * @return
     */
    ListResult<SealApplyVO> findAll(Query query);

    /**
     * 详情
     * @param sealApply
     * @return
     */
    SealApplyVO detail(SealApply sealApply);

    /**
     * 更新
     * @param sealApply
     * @return
     */
    boolean updateSignOrFlow(SealApply sealApply);

    /**
     * 详情pdf
     * @param sealApply
     * @return
     */
    File detailPdf(SealApply sealApply);
}
